From: Dan Winship Date: Wed, 24 Mar 2010 17:15:50 +0000 (-0400) Subject: runDialog: use Shell.get_event_state(e), not e.get_state() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10248 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5635797cb94773606336d0454fddfb1832488c19;p=gnome-shell.git runDialog: use Shell.get_event_state(e), not e.get_state() --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index ca2fb262e..bbeb849e8 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -269,7 +269,7 @@ RunDialog.prototype = { return true; } if (symbol == Clutter.Return) { - if (e.get_state() & Clutter.ModifierType.CONTROL_MASK) + if (Shell.get_event_state(e) & Clutter.ModifierType.CONTROL_MASK) this._run(o.get_text(), true); else this._run(o.get_text(), false);